package com.alibaba.dubbo.rpc.protocol.dubbo;

import com.alibaba.dubbo.common.extension.ExtensionLoader;
import com.alibaba.dubbo.rpc.Protocol;

/**
 *
 * @author: mapengyong
 * @Date: 2021/1/29 5:27 下午
 * @Description:
 **/
public class Test {
    public static void main(String[] args) {
        ExtensionLoader<Protocol> extensionLoader = ExtensionLoader.getExtensionLoader(Protocol.class);
        System.out.println(extensionLoader.getAdaptiveExtension());
        System.out.println(extensionLoader.getExtension("dubbo"));
    }
}
